//
//  BarView.h
//  AVPLayer3
//
//  Created by dllo on 15/10/9.
//  Copyright © 2015年 liuchunling. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BarViewDelegate;

@interface BarView : UIView

@property (nonatomic, retain) UILabel *didTimeLabel;//显示已完成的播放时长
@property (nonatomic, retain) UILabel *totalTimeLabel;//显示视频的总播放时长
@property (nonatomic, retain) UIButton *playButton;//播放暂停按钮
@property (nonatomic, retain) UIProgressView *playProgress;//缓冲条
@property (nonatomic, retain) UISlider *playSlider;//播放进度条



@property (nonatomic, assign) id<BarViewDelegate>delegate;

@end

@protocol BarViewDelegate <NSObject>

- (void)sliderActionWith:(UISlider *)slider;

- (void)playButtonActionWith:(UIButton *)button;


@end
